
//首页
let Index = resolve => import('@/views/index/Index');

//分类列表
let Classify = resolve => import('@/views/dynamic/classify/Index');

//资讯列表
let Info = resolve => import('@/views/dynamic/info/Index');

//资讯列表-表单
let InfoForm = resolve => import('@/views/dynamic/info/Form');

//资讯列表-详情
let InfoDetail = resolve => import('@/views/dynamic/info/Detail');


//轮播图
let Slide = resolve => import('@/views/dynamic/slide/Index');

//轮播图 - 表单
let SlideForm = resolve => import('@/views/dynamic/slide/Form');


//教务教学-时长班
let HourLong = resolve => import('@/views/education/hourLong/Index');

//教务教学-时长班-表单
let HourLongForm = resolve => import('@/views/education/hourLong/Form');

//教务教学-时长班-详情
let HourLongDetail = resolve=>import('@/views/education/hourLong/Detail');


//教务教学-时长班-课表
let HourLongSchedule = resolve => import('@/views/education/hourLong/Schedule');

//教务教学-课次班
let CourseTime = resolve => import('@/views/education/courseTime/Index');

//教务教学-课次班-表单
let CourseTimeForm = resolve => import('@/views/education/courseTime/Form');

//教务教学-课次班-详情
let CourseTimeDetail = resolve => import('@/views/education/courseTime/Detail');

//教务教学-课次班-课表
let CourseTimeSchedule = resolve => import('@/views/education/courseTime/Schedule');



//教务教学-课时班
let CourseHour = resolve => import('@/views/education/courseHour/Index');

//教务教学-课时班-详情
let CourseHourDetail = resolve => import('@/views/education/courseHour/Detail');


//教务教学-课时班-表单
let CourseHourForm = resolve => import('@/views/education/courseHour/Form');

//教务教学-课时班-课表
let CourseHourSchedule = resolve => import('@/views/education/courseHour/Schedule');

//添加老师（一对一）
let VipList = resolve => import('@/views/education/addTeacher/Index');

//添加名师-表单
let VipForm = resolve => import('@/views/education/addTeacher/Form');

//添加名师老师详情
let VipDetail = resolve => import('@/views/education/addTeacher/Detail');

//教务教学-添加名师-课表
let VipSchedule = resolve => import('@/views/education/addTeacher/Schedule');

//商品管理-列表页
let GoodsList = resolve => import('@/views/education/goods/Index');

//商品管理-表单
let GoodsForm = resolve => import('@/views/education/goods/Form');

//商品管理-详情
let GoodsDetail = resolve => import('@/views/education/goods/Detail');

//商品管理-库存记录
let StockRecord = resolve => import('@/views/education/goods/StockRecord');

//学员档案-列表
let StudentRecord = resolve => import('@/views/education/studentRecord/Index');

//学员档案-表单
let StudentForm = resolve => import('@/views/education/studentRecord/Form');


//学员档案-课表
let StudentSchedule = resolve => import('@/views/education/studentRecord/Schedule');

//学员档案-详情
let StudentDetail = resolve => import('@/views/education/studentRecord/Detail');

//学员档案-渠道管理
let StudentChannel = resolve => import('@/views/education/studentRecord/Channel');

//意向学员(一体机专属)
let IntentionStudent = resolve => import('@/views/education/intentionStudent/Index');

//意向学员-表单
let IntentionStudentForm = resolve => import('@/views/education/intentionStudent/Form');

//意向学员-详情
let IntentionStudentDetail = resolve => import('@/views/education/intentionStudent/Detail');

//意向学员-分组管理列表
let IntentionStudentGroup = resolve => import('@/views/education/intentionStudent/GroupList');

let IntentionStudentClue = resolve => import('@/views/education/intentionStudent/Clue');

//课程表
let Schedule = resolve=> import('@/views/education/schedule/Index');


//课程订单
let CourseOrder = resolve => import('@/views/order/course/Index');
//课程订单-退费详情
let CourseRefundDetail = resolve => import('@/views/order/course/RefundDetail');

//课程订单-订单详情
let OrderDetail = resolve => import('@/views/order/course/OrderDetail');

//商品订单
let GoodsOrder = resolve => import('@/views/order/goods/Index');

let GoodsOrderDetail = resolve => import('@/views/order/goods/OrderDetail');

let GoodsRefundDetail = resolve => import('@/views/order/goods/RefundDetail');

//学员报名
let AddOrder = resolve => import('@/views/common/AddOrder');

//统计对比-今日统计
let TodayCount = resolve => import('@/views/statistics/today/Index');

//统计对比-统计报表
let StatisExcel = resolve => import('@/views/statistics/excel/Index');


//系统设置-校区设置
let SchoolList = resolve => import('@/views/sysset/school/Index');

//系统设置-科目设置
let SubjectSet = resolve => import('@/views/sysset/subject/Index')

//系统设置-账号设置
let AccountSet = resolve => import('@/views/sysset/account/Index')

//系统设置-账号设置-表单
let AccountSetForm = resolve => import('@/views/sysset/account/Form');

//系统设置-账号设置-详情
let AccountDetail = resolve => import('@/views/sysset/account/Detail');

//系统设置-账号设置-用户信息
let UserInfo = resolve => import('@/views/sysset/account/UserInfo');

//系统设置-账号设置-校区信息设置
let SchoolInfo = resovle => import('@/views/sysset/schoolInfo/Index');


const childRoutes = [
  //默认子路由展示在首页
  {
    path:'',
    component:TodayCount,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2]
    }
  },
  //资讯分类
  {
    path:'classify',
    component:Classify,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'资讯分类'
    }
  },

  //资讯列表
  {
    path:'info',
    name:'Info',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'资讯列表'
    },
    children:[
      //资讯列表-表单
      {
        path:'form',
        name:'InfoForm',
        component:InfoForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //资讯详情
      {
        path:'detail',
        name:'InfoDetail',
        component:InfoDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'资讯详情',
        }
      },
      {
        path:':pageNo?/:pageSize?',
        component:Info,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //轮播图
  {
    path:'slide',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'轮播图'
    },
    children:[
      //轮播图-表单
      {
        path:'form',
        name:'SlideForm',
        component:SlideForm,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //轮播图列表
      {
        path:'',
        component:Slide,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2]
        }
      }

    ]

  },

  //时长班
  {
    path:'class/hourLong',
    name:'HourLong',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'时长班',
      classSet:{
        id:1,
        type:3
      }
    },
    children:[
      //时长班-表单
      {
        path:'form',
        name:'HourLongForm',
        component:HourLongForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //时长班-详情
      {
        path:'detail',
        name:'HourLongDetail',
        component:HourLongDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课程详情'
        }
      },
      //时长班-课表
      {
        path:'schedule',
        name:'HourLongSchedule',
        component:HourLongSchedule,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课表信息'
        }
      },
      {
        path:':pageNo?/:pageSize?',
        component:HourLong,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //课次班
  {
    path:'class/courseTime',
    name:'CourseTime',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'课次班',
      classSet:{
        id:2,
        type:3
      }
    },
    children:[
      //课次班-表单
      {
        path:'form',
        name:'CourseTimeForm',
        component:CourseTimeForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //课次班-详情
      {
        path:'detail',
        name:'CourseTimeDetail',
        component:CourseTimeDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课程详情'
        }
      },
      //课次班-课表
      {
        path:'schedule',
        name:'CourseTimeSchedule',
        component:CourseTimeSchedule,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课表信息'
        }
      },
      //课次班-列表
      {
        path:':pageNo?/:pageSize?',
        component:CourseTime,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //课时班
  {
    path:'class/courseHour',
    name:'CourseHour',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'课时班',
      classSet:{
        id:3,
        type:1
      }
    },
    children:[
      //课时班-详情
      {
        path:'detail',
        name:'CourseHourDetail',
        component:CourseHourDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课程详情'
        }
      },
      //课时班-表单
      {
        path:'form',
        name:'CourseHourForm',
        component:CourseHourForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },

      //课时班-课表
      {
        path:'schedule',
        name:'CourseHourSchedule',
        component:CourseHourSchedule,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课表信息'
        }
      },
      {
        path:':pageNo?/:pageSize?',
        component:CourseHour,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }

    ]
  },

  //一对一
  {
    path:'class/vip',
    name:'VipList',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'一对一',
      classSet:{
        id:4,
        type:2
      }
    },
    children:[
      //添加老师（一对一）-表单
      {
        path:'form',
        name:'VipForm',
        component:VipForm,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //添加老师（一对一）-详情
      {
        path:'detail',
        name:'VipDetail',
        component:VipDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'老师详情'
        }
      },
      //添加老师（一对一）- 课表
      {
        path:'schedule',
        name:'VipSchedule',
        component:VipSchedule,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课表信息'
        }
      },
      {
        path:':pageNo?/:pageSize?',
        component:VipList,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //商品管理
  {
    path:'goods',
    name:'GoodsList',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'商品管理'
    },
    children:[
      //商品管理-表单
      {
        path:'form',
        name:'GoodsForm',
        component:GoodsForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //商品管理-详情
      {
        path:'detail',
        name:'GoodsDetail',
        component:GoodsDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'商品详情'
        }
      },
      //商品管理-库存记录
      {
        path:'stock/:pageNo?/:pageSize?',
        name:'StockRecord',
        component:StockRecord,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'库存记录'
        }
      },
      //商品管理
      {
        path:':pageNo?/:pageSize?',
        component:GoodsList,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      },
    ]
  },

  //学员档案
  {
    path:'student',
    name:'StudentRecord',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'学员档案'
    },
    children:[
      //学员录入订单
      {
        path:'addOrder',
        name:'studentAddOrder',
        component:AddOrder,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'录入订单'
        }
      },
      //学员档案-表单
      {
        path:'form',
        name:'StudentForm',
        component:StudentForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //学员档案-渠道管理
      {
        path:'channel',
        name:'StudentChannel',
        component:StudentChannel,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'渠道管理'
        }
      },
      //学员档案-课表
      {
        path:'schedule',
        name:'StudentSchedule',
        component:StudentSchedule,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'课程表'
        }
      },
      //学员档案-详情
      {
        path:'detail',
        name:'StudentDetail',
        component:StudentDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'学员详情'
        }
      },
      //账户总览
      {
        path:'account',
        name:'StudentAccount',
        component:resolve => import('@/views/education/stuAccount/Index'),
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'账户总览'
        }
      },
      //学员档案
      {
        path:':pageNo?/:pageSize?',
        component:StudentRecord,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },


  //意向学员
  {
    path:'intention',
    name:'IntentionStudent',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'意向学员'
    },
    children:[
      //学员录入订单
      {
        path:'addOrder',
        name:'IntentionAddOrder',
        component:AddOrder,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'录入订单'
        }
      },
      //意向学员表单
      {
        path:'form',
        name:'IntentionStudentForm',
        component:IntentionStudentForm,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      //意向学员详情
      {
        path:'detail',
        name:'IntentionStudentDetail',
        component:IntentionStudentDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'学员详情'
        }
      },
      //意向学员线索
      {
        path:'clue',
        name:'IntentionStudentClue',
        component:IntentionStudentClue,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'学员线索'
        }
      },
      //意向学员分组
      {
        path:'group/:pageNo?/:pageSize?',
        name:'IntentionStudentGroup',
        component:IntentionStudentGroup,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'分组管理'
        }
      },
      //意向学员列表
      {
        path:':pageNo?/:pageSize?',
        component:IntentionStudent,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //课程表
  {
    path:'/schedule',
    name:'Schedule',
    component:Schedule,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'课程表'
    }
  },

  //课程订单
  {
    path:'order/course',
    name:'CourseOrder',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'课程订单'
    },
    children:[
      //退费订单列表
      {
        path:'canRefundOrder',
        name:'CanRefundCourseOrder',
        component:resolve => import('@/views/order/course/CanRefundOrder'),
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'退费订单'
        }
      },
      //课程订单-退费详情
      {
        path:'refundDetail',
        name:'CourseRefundDetail',
        component:CourseRefundDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'退费详情'
        }
      },
      //课程订单-订单详情
      {
        path:'detail',
        name:'OrderDetail',
        component:OrderDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'订单详情'
        }
      },
      //课程订单
      {
        path:':pageNo?/:pageSize?',
        component:CourseOrder,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //商品订单
  {
    path:'order/goods',
    name:'GoodsOrder',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'商品订单'
    },
    children:[
      //商品订单-详情
      {
        path:'detail',
        name:'GoodsOrderDetail',
        component:GoodsOrderDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'订单详情'
        }
      },
      {
        path:'return-detail',
        name:'GoodsRefundDetail',
        component:GoodsRefundDetail,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'退费详情'
        }
      },
      //商品订单
      {
        path:':pageNo?/:pageSize?',
        component:GoodsOrder,
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },
  {
    path:'order/spell',
    name:'SpellOrder',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'拼团订单'
    },
    children:[
      {
        path:'spell-detail',
        name:'SpellOrderDetail',
        component:resolve=>import('@/views/order/spell/Detail'),
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2],
          title:'拼单详情'
        }
      },
      //拼团订单
      {
        path:':pageNo?/:pageSize?',
        component:resolve=>import('@/views/order/spell/Index'),
        meta:{
          roleName:['master','user'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //账户明细
  {
    path:'order/paypal/:pageNo?/:pageSize?',
    name:'PayPal',
    component:resolve => import('@/views/order/paypal/Index'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'账户明细'
    }
  },

  //统计对比-今日统计
  {
    path:'statistics/today',
    name:'TodayCount',
    component:TodayCount,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'今日统计'
    }
  },
  //统计对比-业绩统计
  {
    path:'statistics/mark',
    name:'MarkCount',
    component:resolve => import('@/views/statistics/mark/Index'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'业绩统计'
    }
  },

  //统计对比-统计报表
  {
    path:'statistics/excel',
    name:'StatisExcel',
    component:StatisExcel,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'统计报表'
    }
  },

  //校区设置
  {
    path:'schoolSet/:pageNo?/:pageSize?',
    name:'SchoolList',
    component:SchoolList,
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'校区设置'

    }
  },

  //科目设置
  {
    path:'subjectSet/:pageNo?/:pageSize?',
    name:'SubjectSet',
    component:SubjectSet,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'科目设置'
    }
  },

  //账户设置
  {
    path:'account',
    component:resolve => import('@/views/common/Bootstrap'),
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'账户设置'
    },
    children:[
      {
        path:'detail',
        name:'AccountDetail',
        component:AccountDetail,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'账户详情'
        }
      },
      {
        path:'form',
        name:'AccountSetForm',
        component:AccountSetForm,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'表单'
        }
      },
      {
        path:'',
        component:AccountSet,
        meta:{
          roleName:['master'],
          terminalType:[0,1,2]
        }
      }
    ]
  },

  //用户信息
  {
    path:'userInfo',
    name:'UserInfo',
    component:UserInfo,
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'用户信息'
    }
  },

  //个人套餐设置
  {
    path:'set-meal',
    name:'SetMeal',
    component:resolve => import('@/views/sysset/meal/Index'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'账户套餐设置'
    }
  },
  //学校信息设置
  {
    path:'schoolInfo',
    name:'SchoolInfo',
    component:SchoolInfo,
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'学校信息设置'
    }
  },
  //App推送设置
  {
    path:'app-push-set',
    name:'AppPushSet',
    component:resolve => import('@/views/sysset/app/PushSet'),
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'App推送设置'
    }
  },
  //短信平台
  {
    path:'sms',
    name:'SMS',
    component:resolve => import('@/views/sms/Bootstrap'),
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'短信平台'
    },
    children:[

      //短信推送详情
      {
        path:'push-detail/:pageNo?/:pageSize?',
        name:'SmsPushDetail',
        component:resolve => import('@/views/sms/Detail'),
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'短信推送详情'
        }
      },

      //套餐列表
      {
        path:'meal/:pageNo?/:pageSize?',
        name:'SmsMeal',
        component:resolve => import('@/views/sms/Meal'),
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'短信套餐'
        }
      },
      //套餐购买
      {
        path:'buy-meal',
        name:'SmsBuyMeal',
        component:resolve => import('@/views/sms/BuyMeal'),
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'短信购买'
        }
      },
      //短信推送设置
      {
        path:'push-set',
        name:'SmsPushSet',
        component:resolve => import('@/views/sms/PushSet'),
        meta:{
          roleName:['master'],
          terminalType:[0,1,2],
          title:'短信推送设置'
        }
      },
      {
        path:':pageNo?/:pageSize?',
        component:resolve => import('@/views/sms/Index'),
        meta:{
          roleName:['master'],
          terminalType:[0,1,2]
        }
      }
    ]
  }
];
export default [

  //需要token验证才能访问的页面
  {
    path:'/',
    component:resolve => import('@/views/Layout'),
    meta:{
      path:'/',
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'首页'
    },
    children:childRoutes
  },

  //登陆页面
  {
    path:'/login',
    name:'Login',
    component:resolve => import('@/components/Login'),
  },
  {
    path:'/set-bootstrap',
    name:'SetBootStrap',
    component:resolve => import('@/views/guide/Index')
  },
  {
    path:'/set-account',
    name:'SetAlipayAcc',
    component:resolve => import('@/views/common/AliPayAcc'),
    meta:{
      roleName:['master'],
      terminalType:[0,1,2],
      title:'支付宝/微信账号设置引导'
    }
  },
  //404页面
  {
    path:'*',
    name:'NotFound',
    component:resolve => import('@/components/NotFound'),
    meta:{
      roleName:['master','user'],
      terminalType:[0,1,2],
      title:'404'
    }
  }
];


